<template>
	<view>
		<web-view :src="src"></web-view>
	</view>
</template>

<script>
	import {
		mapActions
	} from "vuex"
	export default {
		data() {
			return {
				src: "https://bj.xdf.cn/bj_static/zhuanti/xcx/logout.html" + '?miniProgram_redirectUrl=/pages/login/loading'
			}
		},
		onLoad() {
			this.dengchu()
		},
		onShow() {
			uni.hideHomeButton({
				success: function () {
					console.log('隐藏头部返回主页')
				}
			})
		},
		methods: {
			...mapActions(["Logout"]),
			dengchu() {
				this.Logout({}).then(res => {
					console.log(res)
					
				})
			}
		}
	}
</script>

<style>

</style>
